﻿#region Copyright
/// <copyright>
/// Copyright (c) 2008 Ilia Shramko.
/// Released under the terms of the GNU General Public License.
/// </copyright>
#endregion

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;

namespace Osh.Media
{
	public interface IMediaLibrary
	{
		string Name { get; }

		Type DefaultPlayer { get; }

		MediaTreeCollection MediaTrees { get; }

		IMedia GetMedia(string mediaUri);
		[ComVisible(false)]
		IMedia GetMedia(Uri mediaUri);

		void Save();
	}
}
